//
//  DataBase.h
//  AI
//
//  Created by zjhc on 2018/2/12.
//  Copyright © 2018年 zjhc. All rights reserved.
//

#import <Foundation/Foundation.h>
@class AudioFileModel;

@interface DataBase : NSObject
@property(nonatomic,strong) AudioFileModel *audioFileModel;
+ (instancetype)sharedDataBase;
#pragma mark - Person
/**
 *  添加AudioFile
 *
 */
-(void)addAudioFile:(AudioFileModel *)audioFileModel;
/**
 *  删除AudioFile
 *
 */
-(void)deleteAudioFile:(AudioFileModel *)audioFileModel;
/**
 *  更新AudioFile
 *
 */
-(void)updateAudioFile:(AudioFileModel *)audioFileModel;

/**
 *  根据状态获取所有未上传文件
 *
 */
- (NSMutableArray *)getAudioFileByStatus:(AudioFileModel *)audioFileModel;

@end
